<div class="modal-header">
    <h3 class="modal-title">请输入兑换码</h3>
</div>
<div class="modal-body">
    <input type="text" class="form-control" id="voteTitle" placeholder="兑换码" ng-model="exchange.code">
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">Cancel</button>
</div>